<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <script th:src="@{/jquery-1.11.3.min.js}"></script>
    <link th:href="@{/bootstrap-4.5.0-dist/css/bootstrap.css}" rel="stylesheet">

</head>
<body>

<div class="container">
    <h3>修改销售人员</h3>

  <form th:action="@{/jpauser/updateUser/} + ${id}" method="post">
      <input  hidden name="_method" value="put">

       <div class="form-group">
           ID：<span th:text="${id}"></span>
       </div>
        <div class="form-group">
            <label>账号：</label>
            <input name="account" th:value="${users.account}" class="form-control">
        </div>
       <div class="form-group">
           <label>密码：</label>
           <input name="password" th:value="${users.password}" class="form-control">
       </div>
        <div class="form-group">
            <label>姓名：</label>
            <input name="name" th:value="${users.name}" class="form-control">
        </div>
       <div class="form-group">
           <label>编号：</label>
           <input name="role_id" th:value="${users.role_id}" class="form-control">
       </div>

        <div class="form-group">
            <label>性别：</label>
            <input name="sex" th:value="${users.sex}"  class="form-control">
        </div>
       <div class="form-group">
           <label>电话：</label>
           <input name="phone" th:value="${users.phone}"  class="form-control">
       </div>
        <input type="submit" class="btn btn-success">
 </form>
</div>
</body>
</html>